<template>
  <div class="csj-model">
    <Drawer
      title="添加调查"
      width="60%"
      v-model="isShowModel"
      @on-close="close"
    >
      <Form :model="formItem" :label-width="80">
        <Form-item label="标题：">
          <Input v-model="formItem.title" placeholder="请输入"></Input>
        </Form-item>
        <Form-item label="链接">
          <Input v-model="formItem.url" placeholder="请输入"></Input>
        </Form-item>
        <Form-item label="描述">
          <Input v-model="formItem.summary" type="textarea" placeholder="请输入"></Input>
        </Form-item>
      </Form>
      <div class="csj-drawer-footer">
        <Button @click="close">取消</Button>
        <Button @click="confirm" type="primary" class="ml10">确定</Button>
      </div>
    </Drawer>
  </div>
</template>
<script lang="ts" src="./question-add.ts"></script>